<?php

namespace App\Http\Controllers\Backend;

use App\Models\AdminPermission;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class PermissionController extends Controller
{
    //权限列表
    public function index()
    {
        $permissions=AdminPermission::paginate(10);
        return view('backend.permission.index',compact('permissions'));
    }
    //创建权限页面
    public function create()
    {
        return view('backend.permission.add');
    }
    //创建行为
    public function store()
    {

    }
}
